package com.bosch.in.rtp1.ept.dao;

import java.sql.SQLException;

import com.bosch.in.rtp1.ept.model.dto.SkippedFshRcpCon;

/**
 * DAO interface to interact with Skipped Finished Recipe Condition table.
 * @author LIV1HC
 *
 */

public interface SkpFshRcpConDao {
	/**
	 * Query to get newest skipped finished recipe condition
	 * @return SkippedFshRcpCon
	 * @throws SQLException
	 */
	SkippedFshRcpCon getSkpFshRcpCon() throws SQLException;
	
	/**
	 * update skipped finished recipe condition
	 * @param SkippedFshRcpCon
	 * @return true if successfully updated
	 * @throws SQLException
	 */
	boolean updateSkpFshRcpCon(SkippedFshRcpCon oldSkippedFshRcpCon, SkippedFshRcpCon newSkippedFshRcpCon) ;
	
	/**
	 * insert skipped finished recipe condition
	 * @param SkippedFshRcpCon
	 * @return true if successfully inserted
	 * @throws SQLException 
	 */
	boolean insertSkpFshRcpCon(SkippedFshRcpCon skippedFshRcpCon) throws SQLException ;

	/**
	 * update skipped column of all finished recipe 
	 * @return true if successfully updated
	 * @throws SQLException 
	 */
	boolean updateSkpCol() throws SQLException ;
}
